import React from 'react'
import { BrowserRouter as Router } from 'react-router-dom'
import { renderRoutes } from 'react-router-config'

import { routes } from './router'


function App(props) {

  console.log(props)
  return (
    <Router>
      {renderRoutes(routes)}
    </Router>


  );
}

export default App;
